package com.yonyou.cyxdms.sysAuth.service.mapper.notification;

import com.yonyou.cyx.framework.dao.base.SuperMapper;
import com.yonyou.cyxdms.sysAuth.service.dto.notification.NotificationDealerListDTO;
import com.yonyou.cyxdms.sysAuth.service.entity.notification.NotificationDealerPO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 通知通告之经销商 Mapper 接口
 * </p>
 *
 * @author adu
 * @since 2019-10-14
 */
@Repository
public interface NotificationDealerMapper extends SuperMapper<NotificationDealerPO> {

    /**
     * 通过notificationId获取经销商信息
     * @param notificationId
     * @return
     */
    List<NotificationDealerListDTO> getNotificationDealer(Integer notificationId, Integer isDelete);
}
